var arr=['奔驰','奥迪','宝马','大众']
var arr1=[
    {id:0,name:'奔驰',price:100},
    {id:1,name:'奥迪',price:220},
    {id:1,name:'奥迪',price:220},
    {id:2,name:'宝马',price:300},
    {id:3,name:'大众',price:400},
]
console.log(arr.find(item=>item=='奥迪'));
console.log(arr1.find(item=>item.name=='奥迪'));
console.log(arr1.find(item=>item.price>150));
console.log(arr1.filter(item=>item.price>150));
console.log(arr.findIndex(item=>item=='奥迪'));
console.log(arr1.findIndex(item=>item.name=='奥迪'));
console.log(arr1.filter(item=>item.name.includes('奥迪')));
console.log('2222'.padStart(2,'0'));